import lazy from "./modules/lazy";

export default {
  install(app) {
    const directives = import.meta.globEager('./modules/*.js')

    for(const [key, value] of Object.entries(directives)) {
      app.directive(key.replace(/(\.\/modules\/|\.js)/g, ''), value.default)
    }
  }
}